<?php

namespace Houdunren\WeChat\Button;


use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;

trait MessageType
{

    public function isClick()
    {

        return $this->message->MsgType == 'event' && $this->message->Event == 'CLICK';
    }


}
